import request from '@/utils/request'

// 数据修改
export function updateInfoborrowlog(data) {
  return request({
    url: '/administrative/infoBorrowlog/updateByPrimaryKeySelective',
    method: 'POST',
    data
  })
}

// 外借分页条件查询
export function getProjectborrowList(params) {
  return request({
    url: '/administrative/infoBorrowlog/selectPage',
    method: 'POST',
    params
  })
}

// 删除
export function deleteInfoborrowlog(params) {
  return request({
    url: '/administrative/infoBorrowlog/deleteByPrimaryKey',
    method: 'POST',
    params
  })
}

// 资料名称查询
export function selectInfoTitle(params) {
  return request({
    url: '/administrative/infoBorrowlog/selectInfoTitle',
    method: 'post',
    params
  })
}

// 新增
export function insertInfoborrowlog(data) {
  return request({
    url: '/administrative/infoBorrowlog/insertSelective',
    method: 'POST',
    data
  })
}

// 修改数据查询
export function selectInfoborrowlog(params) {
  return request({
    url: '/administrative/infoBorrowlog/selectByPrimaryKey',
    method: 'POST',
    params
  })
}
